<?php 
$base = 'http://' . $_SERVER['SERVER_NAME'];
?>
<!DOCTYPE html> 
<html> 
    <head> 
        <title>Apartment Rental System</title> 
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <link rel="stylesheet" href="<?=$base?>/bootstrap/css/bootstrap.css" />
        <script type="text/javascript" src="<?=$base?>/bootstrap/js/bootstrap.min.js"></script>
        <link rel="stylesheet" href="<?= $base ?>/mb/css/jquery.mobile-1.3.1.min.css" /> 
        <script type="text/javascript" src="<?= $base ?>/mb/js/jquery.js"></script>
        <script type="text/javascript" src="<?= $base ?>/mb/js/jquery.mobile-1.3.1.min.js"></script>
        <script type="text/javascript" src="<?= $base ?>/mb/js/functions.js"></script>
    </head> 
    <body>      
        <div data-role="page">

            <!-- header -->
            <div data-role="header" data-theme="a" data-position="fixed">
                <div>			
                    <h4><i class="icon-map-marker icon-white"></i> Apartment Rental System</h4>                    
                    <a href="#" data-role="button" data-icon="gear" data-iconpos="notext" data-theme="d" data-inline="true" class="ui-btn-right"></a>
                </div>		
            </div>
            <!-- header -->                      
            <!--navbar-->
            <div data-role="navbar" data-grid="c">
                <ul id="nav">
                    <li key="home"><a href="<?=$this->url(array(),'mobile-home');?>" data-icon="home">Home</a></li>
                    <li key="search"><a href="#" data-icon="search" title="Search Property">Property</a></li>
                    <li key="about"><a href="<?=$this->url(array(),'mobile-about-us');?>" data-icon="info">About</a></li>
                    <li key="login"><a href="#" data-icon="edit">Login</a></li>                                        
                </ul>
            </div>
            
            <!--navbar-->
              <!--content-->
            <div data-role="content">
                <?php echo $this->layout()->content; ?>
            </div>
            <!--content--> 
            <div data-role="footer" id="pageFooter" data-theme="a" data-position="fixed">               
                <h4>&copy; SpearBall Inc. 2013</h4>
            </div>
        </div>

    </body>
</html>